#!/usr/bin/python3
# coding=utf-8
import platform


def sysConfig():
    sys_type = platform.system()
    # url = "192.168.0.243"
    url = "localhost"
    port = '890'
    if (sys_type != 'Windows'):
        url = "192.168.0.125"
        port = 90

    obj = {
        'baseUrl': url,
        'port': port,
        "db_host":'chmysql.server',
        "db":'db_crash_handler',
        "db_user":'db_crash',
        "db_pass":'db_crash',
        "table_crash":'t_crash_handler',
        "table_crash_type":'t_crash_handler_type'
    }
    return obj
